package com.ruoyi.shaketicket.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 摇一摇活动表 wxact_shaketicket_home
 * 
 * @author lzy
 * @date 2019-03-01
 */
public class ShaketicketHome extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** ID */
	private String id;
	/** 活动名称 */
	private String actName;
	/** 启用状态（0：停用；1：激活） */
	private String activeFlag;
	/** 活动规则 */
	private String detail;
	/** 开始时间 */
	private Date beginTime;
	/** 结束时间 */
	private Date endTime;
	/** 兑奖截止日期 */
	private Date deadlinetime;
	/** 模版简称 */
	private String template;
	/** 抽奖次数 */
	private Integer count;
	/** 每日抽奖次数 */
	private Integer numPerDay;
	/** 活动链接 */
	private String hdurl;
	/** 短链接 */
	private String shortUrl;
	/** 是否关注可参加 0否1是 */
	private String foucsUserCanJoin;
	/** 是否绑定手机可参加 0否1是 */
	private String bindingMobileCanJoin;
	/** 是否中奖可参与 0：中奖可继续参与 1:中奖不可参与 */
	private String winCanJoin;
	/** 公众号原始id */
	private String jwid;
	/** 所属项目编码 */
	private String projectCode;
	/** 创建人 */
	private String createBy;
	/** 创建时间 */
	private Date createTime;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setActName(String actName) 
	{
		this.actName = actName;
	}

	public String getActName() 
	{
		return actName;
	}
	public void setActiveFlag(String activeFlag) 
	{
		this.activeFlag = activeFlag;
	}

	public String getActiveFlag() 
	{
		return activeFlag;
	}
	public void setDetail(String detail) 
	{
		this.detail = detail;
	}

	public String getDetail() 
	{
		return detail;
	}
	public void setBeginTime(Date beginTime) 
	{
		this.beginTime = beginTime;
	}

	public Date getBeginTime() 
	{
		return beginTime;
	}
	public void setEndTime(Date endTime) 
	{
		this.endTime = endTime;
	}

	public Date getEndTime() 
	{
		return endTime;
	}
	public void setDeadlinetime(Date deadlinetime) 
	{
		this.deadlinetime = deadlinetime;
	}

	public Date getDeadlinetime() 
	{
		return deadlinetime;
	}
	public void setTemplate(String template) 
	{
		this.template = template;
	}

	public String getTemplate() 
	{
		return template;
	}
	public void setCount(Integer count) 
	{
		this.count = count;
	}

	public Integer getCount() 
	{
		return count;
	}
	public void setNumPerDay(Integer numPerDay) 
	{
		this.numPerDay = numPerDay;
	}

	public Integer getNumPerDay() 
	{
		return numPerDay;
	}
	public void setHdurl(String hdurl) 
	{
		this.hdurl = hdurl;
	}

	public String getHdurl() 
	{
		return hdurl;
	}
	public void setShortUrl(String shortUrl) 
	{
		this.shortUrl = shortUrl;
	}

	public String getShortUrl() 
	{
		return shortUrl;
	}
	public void setFoucsUserCanJoin(String foucsUserCanJoin) 
	{
		this.foucsUserCanJoin = foucsUserCanJoin;
	}

	public String getFoucsUserCanJoin() 
	{
		return foucsUserCanJoin;
	}
	public void setBindingMobileCanJoin(String bindingMobileCanJoin) 
	{
		this.bindingMobileCanJoin = bindingMobileCanJoin;
	}

	public String getBindingMobileCanJoin() 
	{
		return bindingMobileCanJoin;
	}
	public void setWinCanJoin(String winCanJoin) 
	{
		this.winCanJoin = winCanJoin;
	}

	public String getWinCanJoin() 
	{
		return winCanJoin;
	}
	public void setJwid(String jwid) 
	{
		this.jwid = jwid;
	}

	public String getJwid() 
	{
		return jwid;
	}
	public void setProjectCode(String projectCode) 
	{
		this.projectCode = projectCode;
	}

	public String getProjectCode() 
	{
		return projectCode;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("actName", getActName())
            .append("activeFlag", getActiveFlag())
            .append("detail", getDetail())
            .append("beginTime", getBeginTime())
            .append("endTime", getEndTime())
            .append("deadlinetime", getDeadlinetime())
            .append("template", getTemplate())
            .append("count", getCount())
            .append("numPerDay", getNumPerDay())
            .append("hdurl", getHdurl())
            .append("shortUrl", getShortUrl())
            .append("foucsUserCanJoin", getFoucsUserCanJoin())
            .append("bindingMobileCanJoin", getBindingMobileCanJoin())
            .append("winCanJoin", getWinCanJoin())
            .append("jwid", getJwid())
            .append("projectCode", getProjectCode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
